package com.company.demo;

import com.company.demo.adapter.AdapterObject;
import com.company.demo.adapter.AdapterTest;
import com.company.demo.adapter_ac_dc.PowerAdapterTest;
import com.company.demo.factory_pattern.FactoryMethodTest;
import com.company.demo.factory_pattern.SimpleFactoryTest;
import com.company.demo.factory_pattern.StrategyFactoryTest;
import com.company.demo.observer_pattern.ObserverTest;
import com.company.demo.strategy_draw.StrategyDrawTest;
import com.company.demo.strategy_game.StrategyGameTest;

public class Main {

    public static void main(String[] args) {

        TestInterface testInterface;
        testInterface = new StrategyGameTest();
        testInterface.run();


        testInterface = new StrategyDrawTest();
        testInterface.run();

        testInterface = new ObserverTest();
        testInterface.run();

        testInterface = new SimpleFactoryTest();
        testInterface.run();

        testInterface = new StrategyFactoryTest();
        testInterface.run();

        testInterface = new FactoryMethodTest();
        testInterface.run();

        testInterface = new AdapterTest();
        testInterface.run();

        testInterface = new PowerAdapterTest();
        testInterface.run();

    }
}
